<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    function Persion(name,age) {
        this.name = name,
        this.age = age,
        Persion.prototype.show = function () {
            document.write(this.name + "的年龄是" + this.age + "<br/>");
        }
    }
    
</script>
</html>